<?php
$this->breadcrumbs=array(
	Yii::t('ShopModule.shop', 'Admin')=>array('admin'),
	$model->title,
);

?>
<h1>View Category #<?php echo $model->category_id; ?> </h1>
<a href="index.php?r=/shop/category/update&id=<?php echo $model->category_id; ?>">Update</a>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'category_id',
		'title',
                'description',
                'language',
	),
)); ?>
<table class="detail-view" id="yw0">
<tr class="odd">
    <th><?php echo Shop::t('Image'); ?></th>
    <td>
        <?php if($model->image_url)
                echo '<img width="100" height="100" src="/demo/'.$model->image_url.'"></img>';
             else echo '<span class="null"> Not Set</span>';
        ?>
    </td></tr>
</table>
